<?php
/**
 * Created by PhpStorm.
 * Adminuser: ERHAO
 * Date: 2018/7/18
 * Time: 13:44
 */
namespace app\index\controller;
use think\Controller;
class Error extends Controller
{
    public function index(){
        $this->redirect('/');
    }

    public function _empty(){
        header("HTTP/1.0 404 Not Found");
        return $this->fetch(APP_PATH.'404.html');
    }
}